import PetList from "../../components/home/PetList/PetList.vue";
import Search from "../../components/home/Search/Search.vue";
export default {
  name: "Home",
  components: {
    PetList,
    Search,
  },
  data() {
    return {
      //轮播图
      images: [
        require("../../assets/images/banner1.jpg"),
        require("../../assets/images/banner.png")
      ]
    };
  },
  methods: {
    tiaozhuan(){
      this.$router.push('/Adoption')
    }
  },
  created() {
    this.$axios({
      method:'GET',
      url:"/api/homelunbo",
    })
    .then(res=>{
      console.log(res.data)
    })
  }, 
};